#include<stdio.h>

   int main()
{
   long long a,b;
   char c;
   float d,f;

    scanf("%lld",&a);
    scanf(" %c",&c);
    scanf("%lld",&b);


   d=(float)a/b;
   f=((double)a/b)*100;

   printf("%lld %lld %c\n",a,b,c);
   printf("%lld %lld %lld %lld %lld\n",a+b,a-b,a*b,a/b,a%b);
   printf("The ratio of %lld versus %lld is %.2f.\n",a,b,d);
   printf("The ratio of %lld /% lld is %.2f%%.\n",a,b,f);
   return 0;


}
